/**
 * 
 */
package com.efast.dmom.mes.entity;

import java.math.BigDecimal;

import com.efast.dmom.mes.entity.base.RuntimeBaseEntity;

/**
 * @author Aaron Liu
 *
 *         2020年3月31日
 */
public class LotEntity extends RuntimeBaseEntity {

	private static final long serialVersionUID = 4093535854268608825L;

	private long id;
	private long containerId;
	private long originalLotKey;
	private long parentLotKey;
	private long orderKey;
	private long routeKey;
	private short lotType;
	private int priority;
	private long productionLineKey;
	private long orderItemKey;
	private long previousRouteStep;
	private long nextRouteStep;
	private long currentRouteStep;
	private String previousStatus;
	private String previousState;
	private String lotName;
	private String bomName;
	private String bomRevision;
	private String partNumber;
	private String partRevision;
	private BigDecimal quantity;
	private BigDecimal quantityClosed;
	private BigDecimal quantityConsumed;
	private BigDecimal quantityFinished;
	private BigDecimal quantityInProgress;
	private BigDecimal quantityScrap;
	private boolean standAlone = false;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getPreviousRouteStep() {
		return previousRouteStep;
	}

	public void setPreviousRouteStep(long previousRouteStep) {
		this.previousRouteStep = previousRouteStep;
	}

	public long getNextRouteStep() {
		return nextRouteStep;
	}

	public void setNextRouteStep(long nextRouteStep) {
		this.nextRouteStep = nextRouteStep;
	}

	public long getCurrentRouteStep() {
		return currentRouteStep;
	}

	public void setCurrentRouteStep(long currentRouteStep) {
		this.currentRouteStep = currentRouteStep;
	}

	public String getPreviousStatus() {
		return previousStatus;
	}

	public void setPreviousStatus(String previousStatus) {
		this.previousStatus = previousStatus;
	}

	public String getPreviousState() {
		return previousState;
	}

	public void setPreviousState(String previousState) {
		this.previousState = previousState;
	}

	public long getProductionLineKey() {
		return productionLineKey;
	}

	public String getLotName() {
		return lotName;
	}

	public void setLotName(String lotName) {
		this.lotName = lotName;
	}

	public void setProductionLineKey(long productionLineKey) {
		this.productionLineKey = productionLineKey;
	}

	public long getRouteKey() {
		return routeKey;
	}

	public void setRouteKey(long routeKey) {
		this.routeKey = routeKey;
	}

	public long getContainerId() {
		return containerId;
	}

	public void setContainerId(long containerId) {
		this.containerId = containerId;
	}

	public BigDecimal getQuantityScrap() {
		return quantityScrap;
	}

	public void setQuantityScrap(BigDecimal quantityScrap) {
		this.quantityScrap = quantityScrap;
	}

	public BigDecimal getQuantity() {
		return quantity;
	}

	public void setQuantity(BigDecimal quantity) {
		this.quantity = quantity;
	}

	public long getOriginalLotKey() {
		return originalLotKey;
	}

	public void setOriginalLotKey(long originalLotKey) {
		this.originalLotKey = originalLotKey;
	}

	public long getParentLotKey() {
		return parentLotKey;
	}

	public void setParentLotKey(long parentLotKey) {
		this.parentLotKey = parentLotKey;
	}

	public long getOrderKey() {
		return orderKey;
	}

	public void setOrderKey(long orderKey) {
		this.orderKey = orderKey;
	}

	public short getLotType() {
		return lotType;
	}

	public void setLotType(short lotType) {
		this.lotType = lotType;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}

	public long getOrderItemKey() {
		return orderItemKey;
	}

	public void setOrderItemKey(long orderItemKey) {
		this.orderItemKey = orderItemKey;
	}

	public String getBomName() {
		return bomName;
	}

	public void setBomName(String bomName) {
		this.bomName = bomName;
	}

	public String getBomRevision() {
		return bomRevision;
	}

	public void setBomRevision(String bomRevision) {
		this.bomRevision = bomRevision;
	}

	public String getPartNumber() {
		return partNumber;
	}

	public void setPartNumber(String partNumber) {
		this.partNumber = partNumber;
	}

	public String getPartRevision() {
		return partRevision;
	}

	public void setPartRevision(String partRevision) {
		this.partRevision = partRevision;
	}

	public BigDecimal getQuantityClosed() {
		return quantityClosed;
	}

	public void setQuantityClosed(BigDecimal quantityClosed) {
		this.quantityClosed = quantityClosed;
	}

	public BigDecimal getQuantityConsumed() {
		return quantityConsumed;
	}

	public void setQuantityConsumed(BigDecimal quantityConsumed) {
		this.quantityConsumed = quantityConsumed;
	}

	public BigDecimal getQuantityFinished() {
		return quantityFinished;
	}

	public void setQuantityFinished(BigDecimal quantityFinished) {
		this.quantityFinished = quantityFinished;
	}

	public BigDecimal getQuantityInProgress() {
		return quantityInProgress;
	}

	public void setQuantityInProgress(BigDecimal quantityInProgress) {
		this.quantityInProgress = quantityInProgress;
	}

	public boolean isStandAlone() {
		return standAlone;
	}

	public void setStandAlone(boolean standAlone) {
		this.standAlone = standAlone;
	}

}
